﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TumbaloSoft.Models
{
    public class Horario
    {
        private DiaHorario lunes;
        private DiaHorario martes;
        private DiaHorario miercoles;
        private DiaHorario jueves;
        private DiaHorario viernes;
        private DiaHorario sabado;
        private DiaHorario domingo;

        public DiaHorario obtenerDia(int dia) 
        {
            switch (dia)
            {
                case 1: return lunes; 
                case 2: return martes; 
                case 3: return miercoles;
                case 4: return jueves; 
                case 5: return viernes;
                case 6: return sabado;
                case 7: return domingo; 
            }
            return null;
        }

        public DiaHorario prLunes
        {
            get { return lunes; }
            set { lunes = value; }
        }


        public DiaHorario prMartes
        {
            get { return martes; }
            set { martes = value; }
        }


        public DiaHorario prMiercoles
        {
            get { return miercoles; }
            set { miercoles = value; }
        }


        public DiaHorario prJueves
        {
            get { return jueves; }
            set { jueves = value; }
        }


        public DiaHorario prViernes
        {
            get { return viernes; }
            set { viernes = value; }
        }


        public DiaHorario prSabado
        {
            get { return sabado; }
            set { sabado = value; }
        }


        public DiaHorario prDomingo
        {
            get { return domingo; }
            set { domingo = value; }
        }




        
    }
}